<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page isELIgnored="false" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="author" content="order by dede58.com"/>
    <title>个人信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/layui/css/layui.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/bootstrap/css/bootstrap.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/global.css" media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/personal.css" media="all">
</head>
<body>
<section class="layui-larry-box">
    <div class="larry-personal">
        <div class="layui-tab">
            <blockquote class="layui-elem-quote news_search">

            </blockquote>
            <!-- 操作日志 -->
            <form class="layui-form" action="upadd">
                <c:forEach items="${ul}" var="empul">
                    <div class="layui-form-item">
                        <input type="text" name="id" value="${empul.id}" required lay-verify="required"
                               placeholder="请输入序号" autocomplete="off" class="layui-input" hidden>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">人员编号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="empid" value="${empul.empid}" required lay-verify="required"
                                   placeholder="请输入编号" autocomplete="off" class="layui-input" disabled>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">人员姓名</label>
                        <div class="layui-input-inline">
                            <input type="text" name="empname" value="${empul.empname}" required lay-verify="required"
                                   placeholder="请输入姓名" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">所在部门</label>
                        <div class="layui-input-inline">
                            <select name="departId" class="newsLook" lay-filter="browseLook">
                                <option value="">--请选择--</option>
                                <c:forEach items="${dl}" var="dl">
                                    <option value="${dl.id}" ${empul.departId==dl.id?"selected":""}>${dl.dname}</option>
                                </c:forEach>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">所在职位</label>
                        <div class="layui-input-inline">
                            <select name="ductId" class="newsLook" lay-filter="browseLook">
                                <option value="">--请选择--</option>
                                <c:forEach items="${tl}" var="tl">
                                    <option value="${tl.id}" ${empul.ductId==tl.id?"selected":""}>${tl.zname}</option>
                                </c:forEach>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">性别</label>
                        <div class="layui-input-block">
                            <input type="radio" name="sex" value="男" ${empul.sex=='男'?"checked":""} title="男">
                            <input type="radio" name="sex" value="女" ${empul.sex=='女'?"checked":""} title="女">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">身份证号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="idcard" value="${empul.idcard}" required lay-verify="required"
                                   placeholder="请输入身份证" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">出生日期</label>
                        <div class="layui-input-inline">
                            <input type="date" name="birthday" value="${empul.birthday}" required lay-verify="required"
                                   placeholder="请输入出生日期" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">学历</label>
                        <div class="layui-input-inline">
                            <select name="education" class="newsLook" lay-filter="browseLook">
                                <option value="">--请选择--</option>
                                <option value="小学"${empul.education=="小学"?"selected":""}>小学</option>
                                <option value="初中"${empul.education=="初中"?"selected":""}>初中</option>
                                <option value="高中"${empul.education=="高中"?"selected":""}>高中</option>
                                <option value="大学"${empul.education=="大学"?"selected":""}>大学</option>
                                <option value="高等"${empul.education=="高等"?"selected":""}>高等</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">职称</label>
                        <div class="layui-input-inline">
                            <select name="jobId" class="newsLook" lay-filter="browseLook">
                                <option value="">--请选择--</option>
                                <c:forEach items="${jl}" var="jl">
                                    <option value="${jl.id}" ${empul.jobId==jl.id?"selected":""}>${jl.name}</option>
                                </c:forEach>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">办公电话</label>
                        <div class="layui-input-inline">
                            <input type="text" name="officephone" value="${empul.officephone}" required
                                   lay-verify="required" placeholder="请输入办公电话" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </c:forEach>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" class="layui-btn" lay-filter="formDemo">立即提交</button>
                    </div>
                </div>
            </form>

        </div>
    </div>

</section>
<script type="text/javascript" src="${pageContext.request.contextPath}/common/layui/layui.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/newslist.js"></script>

</body>
</html>